Skip to content

Fix rpm package conflicts with other electron apps#310

Merged
ChugunovRoman merged 1 commit into
Figma-Linux:devfrom
Gasiyu:dev
Dec 8, 2022
Merged

Fix rpm package conflicts with other electron apps#310
ChugunovRoman merged 1 commit into
Figma-Linux:devfrom
Gasiyu:dev

Conversation

@Gasiyu

@Gasiyu Gasiyu commented Oct 18, 2022

Copy link
Copy Markdown
Contributor

To prevent this from conflicting with other Electron based apps, it's necessary to omit all the symlinks, to achieve this, Electron-builder uses fpm to have an easier way to build linux apps.

The solution is to tell Electron-builder to have some flags on fpm while building the rpm to prevent creating those symlinks.

According to Electron-builder documentation and fpm documentation this option is --rpm-rpmbuild-define "_build_id_links none".

This PR solved #97 & #276

@ChugunovRoman
ChugunovRoman merged commit 00231c6 into Figma-Linux:dev Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants